//
//  UIScreen+Extension.swift
//  sinaWeibo
//
//  Created by hjun on 16/3/27.
//  Copyright © 2016年 hjun. All rights reserved.
//

import UIKit

extension UIScreen{
    
    ///只读计算行属性
    class var width: CGFloat {
        
        get{
            
            return UIScreen.mainScreen().bounds.width
        }
        
    }
    
    class var height: CGFloat {
        
        get{
            
            return UIScreen.mainScreen().bounds.height
        }
    }
    
    
    
}
